package testJdk.lambda.testSupplier;

import org.junit.Test;

/**
 * @version 1.0.0
 * Created by cyd on 2021-12-15 14:22:28
 * @ClassName : learn_jdk.lambda.testSupplier.SupplierTester
 * @Description : 类描述
 */
public class SupplierTester {

    @Test
    public void test() {
        int result = SupplierUtil.sup(() -> {
            return (int) (Math.random() * 100);
        });
        System.out.println(result);
    }
}
